// 编辑器的右边，包括地图，战斗和UILayers!
class RightArea extends DockWindow {

	uiLayer: UILayer;

	override childrenCreated(): void {
		super.childrenCreated();

		const uiLayer = new UILayer();
		uiLayer.touchChildren = true;
		uiLayer.touchEnabled = false;
		this.addChild(uiLayer);
		this.uiLayer = uiLayer;
		// setShader(this.uiLayer, 'egret/old_frag');

		this.touchEnabled = false;

		MainWindow.ins().onRightCreated();
	}
}
